# Flow定义
config:
  # 定义全局变量，数据范围-开始时间、结束时间
  startTime: 0
  endTime: 0
  extParas: ${CONFIG_EXT_PARAS}

nodes:
 - name: start
   type: command
   config:
     command: echo "==========> 开始计算指标类数据(t+1)"



 - name: ${INDICATOR_CODE}
   type: command
   dependsOn:
    - start
   config:
     command: python3 ./py/${INDICATOR_CODE}.py ${START_TIME} ${END_TIME} ${EXT_PARAS}
     retries: 3
     retry.backoff: 15000
   condition: all_done

 - name: end
   type: command
   dependsOn:
    - ${INDICATOR_CODE}
   config:
     command: python3 ./py/com/lcb/bigdata/util/AzkabanJobSDK.py ${AZKABAN}
   condition: all_done